@import "../common.less";

.policy-chart {
  min-height: calc(100vh - 200px);

  .home-header {
    position: relative;

    .top-tab {
      position: absolute;
      bottom: 0;
      left: 0;
      width:100%;
      height: 70px;
      font-size: 18px;

      .top-tab2{
        width: 1204px;
        margin: 0 auto;
        display: flex;
        align-items: flex-end;
      }

      .tab {
        width: 160px;
        height: 60px;
        background: #365295;
        color: white;
        margin-right: 12px;
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
        text-align: center;
        line-height: 60px;
        cursor: pointer;
      }

      .tab-active {
        height: 70px;
        background: white;
        color: #365295;
        line-height: 70px;
        position: relative;
      }

      .tab-active:after {
        content: "";
        width: 0;
        height: 0;
        border-top: 10px solid #365295;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        position: absolute;
        top: 65px;
        left: 70px;
      }
    }
  }

  .chart-title {
    margin: auto;
    text-align: center;
    color: #034ea2;
    margin-bottom: 36px;
    margin-top: 48px;

    h2 {
      color: #034ea2;
    }
  }

  .chart {
    width: 1204px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;

    .line{
        display: flex;
        margin-bottom: -24px;

        .legend {
          width: 564px;
          color: #365295;
          margin-bottom:20px;

          .legend-bar {
            width: 100%;
            //box-shadow: 5px 5px 5px #a9a5a5;
            border: 1px solid rgba(203, 201, 201, 0.85);
            margin-top: 24px;
          }

          .legend-text {
            width: 100%;
            text-align: center;

            font-size: 24px;
            line-height: 24px;
            margin-top: 46px;

          }
          .legend-text2 {
            text-align: center;
            font-size: 18px;
            margin-top: 19px;
          }
        }


        .legend:first-child{
            margin-right:76px;
        }
    }

  }

  nz-tab {
    width: 50%;
    margin: auto;

  }
}


